const Layout = () => import('@/layout/index.vue');

export default {
  path: '/system',
  name: 'System',
  component: Layout,
  redirect: '/system/organ',
  meta: {
    icon: 'ant-design:desktop-outlined',
    title: '系统管理',
    rank: 0
  },

  children: [
    {
      path: '/system/organ',
      name: 'SystemOrgan',
      component: () => import('@/views/system/organ/index.vue'),
      meta: {
        title: '机构管理',
        showLink: true
      }
    },
    {
      path: '/system/role',
      name: 'SystemRole',
      component: () => import('@/views/system/role/index.vue'),
      meta: {
        title: '角色管理',
        showLink: true
      }
    },
    {
      path: '/system/menu',
      name: 'SystemMenu',
      component: () => import('@/views/system/menu/index.vue'),
      meta: {
        title: '菜单管理',
        showLink: true
      }
    },
    {
      path: '/system/dict',
      name: 'SystemDict',
      component: () => import('@/views/system/dict/index.vue'),
      meta: {
        title: '字典管理',
        showLink: true
      }
    }
  ]
} satisfies RouteConfigsTable;
